package com.wd.cloud.applet.service;

import com.wd.cloud.applet.config.CustomListResultConfig;
import com.wd.cloud.applet.entity.bo.SysUsersInfoBO.SysUsersInfoListBO;
import com.wd.cloud.applet.entity.bo.SysUsersInfoBO.SysUsersInfoLoginBO;
import com.wd.cloud.applet.entity.bo.SysUsersInfoBO.SysUsersInfoSaveBO;
import com.wd.cloud.applet.entity.commons.RequestPrimaryKeyModel;
import com.wd.cloud.applet.entity.vo.SysUsersInfoVO.SysUsersInfoKeyVO;
import com.wd.cloud.applet.entity.vo.SysUsersInfoVO.SysUsersInfoListVO;
import com.wd.cloud.applet.entity.vo.SysUsersInfoVO.SysUsersInfoLoginVO;

/**
 * Description: [用户表服务]
 * Created on 2023年04月21日
 * @author  <a href="mailto: 987707681@qq.com">hjx</a>
 * @version 1.0
 * Copyright (c) 2023年 代码生成器
 */
public interface ISysUsersInfoService {

    /**
    * 根据主键id删除
    *
    * @param params
    * @return
    */
int deleteByPrimaryKey(RequestPrimaryKeyModel params);

    /**
    * 新增数据
    *
    * @param params
    * @return
    */
int insertSelective(SysUsersInfoSaveBO params);
    /**
    * 新增或修改
    *
    * @param params
    * @return
    */
int save(SysUsersInfoSaveBO params);
    /**
    * 分页获取数据列表
    *
    * @param params
    * @return
    */
CustomListResultConfig<SysUsersInfoListVO> selectByPageList(SysUsersInfoListBO params);
    /**
    * 根据主键id获取实体
    *
    * @param
    * @return
    */
    SysUsersInfoKeyVO userInfo();
    /**
     * 根据主键id获取实体
     *
     * @param params
     * @return
     */
    SysUsersInfoLoginVO login(SysUsersInfoLoginBO params);
    /**
     * 退出登录
     *
     * @param
     * @return
     */
    void logout();

}
